package com.jtx.miaoah2.Model.order.DTO;

import lombok.Data;
import org.springframework.boot.context.properties.bind.DefaultValue;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 季台星
 * @Date 2023 07 23 19 50
 */
@Data
public class CreateOrderDto {
    private Long userId;

    private Long seckillId;


    private Long goodsId;
    /**
     * delivery_addr_id
     */
    private Long deliveryAddrId;

    /**
     * goods_name
     */
    private String goodsName;

    /**
     * goods_count
     */
    private Integer goodsCount;

    /**
     * goods_price
     */
    private BigDecimal goodsPrice;

    /**
     * 订单渠道，1在线，2android，3ios
     */
    private int orderChannel;

    /**
     * 订单状态，0新建未支付，1已支付，2已发货，3已收货，4已退款，5已完成
     */
    private int status;

    /**
     * create_date
     */
    private Date createDate;

}
